// foo.js
const bar = require('./bar.js')
console.log('value of bar: ', bar);

module.exports = 'This is foo.js'